package me.xiaoyan.java.spring.po;


public class Link {

  private Integer id;
  private String name;
  private String icon;
  private String description;
  private String url;
  private String picture;
  private String content;
  private long categoryId;
  private long visitCount;


  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getIcon() {
    return icon;
  }

  public void setIcon(String icon) {
    this.icon = icon;
  }


  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }


  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }


  public String getPicture() {
    return picture;
  }

  public void setPicture(String picture) {
    this.picture = picture;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public long getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(long categoryId) {
    this.categoryId = categoryId;
  }


  public long getVisitCount() {
    return visitCount;
  }

  public void setVisitCount(long visitCount) {
    this.visitCount = visitCount;
  }

  @Override
  public String toString() {
    return "Link{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", icon='" + icon + '\'' +
            ", description='" + description + '\'' +
            ", url='" + url + '\'' +
            ", picture='" + picture + '\'' +
            ", content='" + content + '\'' +
            ", categoryId=" + categoryId +
            ", visitCount=" + visitCount +
            '}';
  }
}
